package com.nanbei.orderService.client;


import com.nanbei.commonUntil.vo.orderVo.CourseWebVoOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(name = "service-edu",fallback = OrderCourseClientHystrix.class )
public interface OrderCourseClient {

    @GetMapping("/eduService/frontCourse/orderFindCourseInfo/{courseId}")
    public CourseWebVoOrder orderFindCourseInfo(@PathVariable("courseId") String courseId);
}
